import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import Histogram from '@feidao/widgets/fd-wh000008';

export default async function a052(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	const histogram = fd.data.node.querySelector<Histogram>('#fd-wh000008-001');
	const url = histogram.get_data_url();
	const img_node = fd.data.node.querySelector<HTMLImageElement>('#fd-wh000008-003');
	img_node.src = url;
}
